#ifndef _SKY_SUN_
#define _SKY_SUN_

#include "../base/Base.h"

class CSun
{
public:
	CSun();
	CSun(CDate date, CGeoInfo geoInfo);
	
	void SetDate(CDate date);
	void SetGeoInfo(CGeoInfo geoInfo);
	CSpherePosition GetSolarPosition();
	CPoint3D GetGloSolarPosition();

private:
	CDate m_date;
	CGeoInfo m_geoInfo;
	CSpherePosition m_solarPosition;
	CPoint3D m_gloPosition;

	void CalcSolarPosition();
};


#endif